<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>
        hello js
    </h1>
    <script>
        alert('你好-js')
        document.write('JavaScript 我来了！')
        console.log('它~会魔法吧~')
    </script>
</body>
</html>